package com.tw;

public class Student {
    private Integer id;
    private String name;
    private Integer chinese;
    private Integer mathematics;
    private Integer English;
    private Integer TotalScore;

    public Student() {
    }

    public Student(Integer id, String name, Integer chinese, Integer mathematics, Integer english, Integer totalScore) {
        this.id = id;
        this.name = name;
        this.chinese = chinese;
        this.mathematics = mathematics;
        English = english;
        TotalScore = totalScore;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getChinese() {
        return chinese;
    }

    public void setChinese(Integer chinese) {
        this.chinese = chinese;
    }

    public Integer getMathematics() {
        return mathematics;
    }

    public void setMathematics(Integer mathematics) {
        this.mathematics = mathematics;
    }

    public Integer getEnglish() {
        return English;
    }

    public void setEnglish(Integer english) {
        English = english;
    }

    public Integer getTotalScore() {
        return TotalScore;
    }

    public void setTotalScore(Integer totalScore) {
        TotalScore = totalScore;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", chinese=" + chinese +
                ", mathematics=" + mathematics +
                ", English=" + English +
                ", TotalScore=" + TotalScore +
                '}';
    }

    public void show() {
        System.out.println(this.name+" "+this.id+" "+this.chinese+""+this.English+""+this.mathematics+""+this.TotalScore);
    }

    public static void main(String[] args) {
        StudentSystem stm=new StudentSystem();
        stm.mangeStudent();
    }
}
